package cn.com.xjnt.vas.manage.repository;

import java.util.List;

import com.frameworks.core.repository.BaseRepository;

import cn.com.xjnt.vas.manage.domain.entity.Module;

public interface ModuleRepository extends BaseRepository<Module, Long> {
	
	List<Module> findByStatusAndParentIdOrderByPriorityAsc(int status, Long parentId);
	
	Module findByCode(String code);
	
}
